package com.example.dao;


import com.example.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoyuan on 2017/9/26.
 */
@Mapper
public interface UserMapper {
    public int add(User user);
    public int update(User user);
    public int deleteByIds(String[] ids);
    public List<User> queryUserById(Long id);
    public List<User> queryUserList(Map<String, Object> params);
}
